package cn.edu.zut.score.service;

import cn.edu.zut.score.core.domain.PageResponse;
import cn.edu.zut.score.core.domain.RestResponse;
import cn.edu.zut.score.core.dto.request.ConfigPageRequest;
import cn.edu.zut.score.core.dto.response.ConfigResponse;
import cn.edu.zut.score.core.entity.Config;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 * 服务类
 * </p>
 *
 * @author zby
 * @since 2021-06-26
 */
public interface IConfigService extends IService<Config> {

    RestResponse<PageResponse<ConfigResponse>> getAllConfigs(ConfigPageRequest configPageRequest);

    RestResponse<ConfigResponse> updateConfig(Config config);
}
